package me.uniauto.service;

import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IService<T> {
    public void setAdapter(IAdapter adapter);

    public IAdapter getAdapter();


    int insert(T entity);
    int updateByExampleSelective(T entity,Object example);
    List<T> selectByExampleSelective(Object example);
    T selectOne(T entity);


}